package com.cjr.mq.cases.service;

import com.cjr.mq.cases.entity.OrderInfo;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OrderService {
    void updateOrderStatus(final String orderId, String flag);
    void createOrder(final String orderId);
    OrderInfo findOrderByOrderId(final String orderId);
    List findAll();
}
